package com.yequan.bird;

/**
 * @author yequan
 * @date 2021/08/07 18:52
 **/
public class MaqueBird implements FlyBird, DownEgg {
    @Override
    public String name() {
        return "麻雀";
    }

    @Override
    public void fly() {
        System.out.println("会飞");
    }

    @Override
    public void downEgg() {
        System.out.println("麻雀会下蛋");
    }
}
